package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the DOWNLOADLOG database table.
 * 
 */
@Entity
@Table(name="DOWNLOADLOG")
public class Downloadlog implements Serializable {
	private static final long serialVersionUID = 1L;
	private long logentry;
	private Date downloaded;
	private BigDecimal expuid;
	private BigDecimal filenumber;
	private String filepathname;
	private String ipnumber;

    public Downloadlog() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getLogentry() {
		return this.logentry;
	}

	public void setLogentry(long logentry) {
		this.logentry = logentry;
	}


    @Temporal( TemporalType.DATE)
	@Column(nullable=false)
	public Date getDownloaded() {
		return this.downloaded;
	}

	public void setDownloaded(Date downloaded) {
		this.downloaded = downloaded;
	}


	@Column(nullable=false)
	public BigDecimal getExpuid() {
		return this.expuid;
	}

	public void setExpuid(BigDecimal expuid) {
		this.expuid = expuid;
	}


	@Column(nullable=false)
	public BigDecimal getFilenumber() {
		return this.filenumber;
	}

	public void setFilenumber(BigDecimal filenumber) {
		this.filenumber = filenumber;
	}


	@Column(nullable=false, length=128)
	public String getFilepathname() {
		return this.filepathname;
	}

	public void setFilepathname(String filepathname) {
		this.filepathname = filepathname;
	}


	@Column(nullable=false, length=20)
	public String getIpnumber() {
		return this.ipnumber;
	}

	public void setIpnumber(String ipnumber) {
		this.ipnumber = ipnumber;
	}

}